The Use of Self Checks and Voting in Software Error Detection: An Empirical Study

نویسندگان

  • Nancy G. Leveson
  • Stephen S. Cha
  • John C. Knight
  • Timothy J. Shimeall
چکیده

This paper presents the results of a n empirical study of software e r r o r detection using self checks and N-version voting. A total of 24 graduate students in computer science a t the University of Virginia and the University of California, Irvine, were hired a s programmers. Working independently, each first prepared a set of self checks using just the requirements specification of a n aerospace application, and then each added self checks to a n existing implementation of tha t specification. The modified programs were executed to measure the e r ror-detection performance of the checks and to compare this with e r r o r detection using simple voting among multiple versions. The goal of this study w'as to learn more about the effectiveness of such checks. The analysis of the checks revealed tha t there a r e great differences in the ability of individual programmers to design effective checks. We found that some checks that might have been effective failed to detect a n e r r o r because they were badly placed, a n d there were numerous instances of checks signaling nonexistent e r rors . In general, specification-based checks alone were not a s effective a s combining them with code-based checks. Using self checks, faults were identified that had not been detected previously by voting 28 versions of the program over a million randomly-generated inputs. This appeared to result from the fact that the self checks could examine the internal state of the executing program whereas voting examines only final results of computations. If internal states had to be identical in N-version voting systems, then there would be no reason to write multiple versions. The programs were executed on 100 000 new randomly-generated input cases in order to compare e r r o r detection by self checks and by 2-version and 3-version voting. Both self checks and voting techniques led to the identification of the same number of faults for this input, although the identified faults were not the same. Fur thermore , whereas the self checks were always effective a t detecting a n e r r o r caused by a particular fault (if they ever did), N-version voting triples a n d pairs were only partially effective at detecting the failures caused by particular faults. Finally, checking the internal s ta te with self checks also resulted in finding faults tha t did not cause failures for the particular input cases executed. This has important implications for the use of back-to-back testing.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Empirical Study on Software Error Detection: Voting, Instrumentation, and Fagan Inspection - Software Engineering Conference, 1995. Proceedings., 1995 Asia Pacific

This paper presents the results of an experiment that compared error detection capability of voting, instrumentation, and Fagan inspection methods. Several experiments have measured effectiveness of various error detection methods. However, most experiments have used different programs; consequently, the results are generally incompatible and do not allow one to make objective comparison on the...

متن کامل

Reducing Measurement Error in Nutrition Assessment: Potential Research Implications for Iran

Self-reported measures of dietary intake are prone to measurement error that may obscure the relationship of diet and disease. This review addresses strategies to decrease errors during collection of dietary data and statistical approaches to deal with measurement issues once the data are collected.  Examples from two US studies-- the Women’s Health Initiative (WHI) Dietary Modificat...

متن کامل

Presenting an Empirical Correlation for Maximum Sauter Mean Diameter in a Spray Extraction Column

Based on the importance of drops' behavior in liquid-liquid extraction, the maximum sauter mean drop diameter has been investigated and correlated in a counter-current spray extraction column with two chemical systems. Spargers were set of nozzles in all experiments. Studying the effects of several parameters on drops size, some correlations were estimated by the last available version of softw...

متن کامل

A New Empirical Model to Increase the Accuracy of Software Cost Estimation (TECHNICAL NOTE)

We can say a software project is successful when it is delivered on time, within the budget and maintaining the required quality. However, nowadays software cost estimation is a critical issue for the advance software industry. As the modern software’s behaves dynamically so estimation of the effort and cost is significantly difficult. Since last 30 years, more than 20 models are already develo...

متن کامل

An Effective and Optimal Fusion Rule in the Presence of Probabilistic Spectrum Sensing Data Falsification Attack

Cognitive radio (CR) network is an excellent solution to the spectrum scarcity problem. Cooperative spectrum sensing (CSS) has been widely used to precisely detect of primary user (PU) signals. The trustworthiness of the CSS is vulnerable to spectrum sensing data falsification (SSDF) attack. In an SSDF attack, some malicious users intentionally report wrong sensing results to cheat the fusion c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • IEEE Trans. Software Eng.

دوره 16  شماره 

صفحات  -

تاریخ انتشار 1990